package Test04;

public class Student1 extends Person{
    String major;
    public Student1(){

    }
    public Student1(String major){
        this.major=major;
    }
    public void study(){
        System.out.println("学习");
    }
    public void eat(){
        System.out.println("学生多吃饭");
    }
}
